package factory.demo;

import factory.factory.Factory;
import factory.item.Suit;

public class Demo {
    public static void main(String[] args) {
        Factory factory = new Factory();

        Suit suit1 = factory.getSuit("clothes");
        suit1.dress();

        Suit suit2 = factory.getSuit("trousers");
        suit2.dress();

        Suit suit3 = factory.getSuit("shoes");
        suit3.dress();

    }
}
